// Copyright 2022 jeff.li. and/or its affiliates.

#pragma once

#include <tbir/pipeline/op_kernel.h>
#include <tbir/runtime/runtime_value.h>

namespace tbir::runtime {

    struct UserDataMutator {
        static void Mutate(RTValue *val, const std::function<void(RTValue *)> &func);

        static void Mutate(RTValue *val, OpKernel *op_ptr);
    };

}  // namespace tbir::runtime
